package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车型费率数据对象 ds_type_rate
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
public class DsTypeRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序列号 */
    private Long id;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 白天定时费率 */
    @Excel(name = "白天定时费率")
    private BigDecimal dayRate;

    /** 白天开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "白天开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dayStartTime;

    /** 白天结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "白天结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dayEndTime;

    /** 夜间定时费率 */
    @Excel(name = "夜间定时费率")
    private BigDecimal nightRate;

    /** 夜间开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "夜间开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nightStartTime;

    /** 夜间结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "夜间结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nightEndTime;

    /** 上限金额 */
    @Excel(name = "上限金额")
    private BigDecimal dailyMaxFee;

    /** 1: 启用, 0: 禁用 */
    @Excel(name = "1: 启用, 0: 禁用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setDayRate(BigDecimal dayRate) 
    {
        this.dayRate = dayRate;
    }

    public BigDecimal getDayRate() 
    {
        return dayRate;
    }
    public void setDayStartTime(Date dayStartTime) 
    {
        this.dayStartTime = dayStartTime;
    }

    public Date getDayStartTime() 
    {
        return dayStartTime;
    }
    public void setDayEndTime(Date dayEndTime) 
    {
        this.dayEndTime = dayEndTime;
    }

    public Date getDayEndTime() 
    {
        return dayEndTime;
    }
    public void setNightRate(BigDecimal nightRate) 
    {
        this.nightRate = nightRate;
    }

    public BigDecimal getNightRate() 
    {
        return nightRate;
    }
    public void setNightStartTime(Date nightStartTime) 
    {
        this.nightStartTime = nightStartTime;
    }

    public Date getNightStartTime() 
    {
        return nightStartTime;
    }
    public void setNightEndTime(Date nightEndTime) 
    {
        this.nightEndTime = nightEndTime;
    }

    public Date getNightEndTime() 
    {
        return nightEndTime;
    }
    public void setDailyMaxFee(BigDecimal dailyMaxFee) 
    {
        this.dailyMaxFee = dailyMaxFee;
    }

    public BigDecimal getDailyMaxFee() 
    {
        return dailyMaxFee;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleType", getVehicleType())
            .append("dayRate", getDayRate())
            .append("dayStartTime", getDayStartTime())
            .append("dayEndTime", getDayEndTime())
            .append("nightRate", getNightRate())
            .append("nightStartTime", getNightStartTime())
            .append("nightEndTime", getNightEndTime())
            .append("dailyMaxFee", getDailyMaxFee())
            .append("status", getStatus())
            .toString();
    }
}
